﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity
{
    /// <summary>
    /// BTB_Comment
    /// </summary>
    [Table("BTB_Comment")]
    public class BTB_Comment
    {
        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// CreatorId
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// CreateTime
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Deleted
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public String Comment_Content { get; set; }

        /// <summary>
        /// 标签
        /// </summary>
        public String Comment_Flag { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public String Comment_Image { get; set; }

        /// <summary>
        /// 星级
        /// </summary>
        public int Comment_State { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public Int32? Orderbys { get; set; }

        /// <summary>
        /// 评论置顶
        /// </summary>
        public Int32? Top_Status { get; set; }

        /// <summary>
        /// Parent_Id
        /// </summary>
        public String Parent_Id { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public String Product_Id { get; set; }

        /// <summary>
        /// 评价状态0:待审核，1：审核通过，2审核不通过
        /// </summary>
        public int? State { get; set; }

        /// <summary>
        /// 是否匿名
        /// </summary>
        public bool IsNickName { get; set; } = false;

        /// <summary>
        /// 明细ID
        /// </summary>
        [NotMapped]
        public String decimalId { get; set; }
    }
}